package com.hsmw.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsmw.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * <p>
 * 推送信息表
 * </p>
 *
 * @author wd
 * @since 2021-09-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="HsmwPushInfo对象", description="推送信息表")
public class HsmwPushInfo extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工长id")
    private String foremanId;

    @ApiModelProperty(value = "到达时间")
    private Long reachTime;

    @ApiModelProperty(value = "消息内容")
    private String message;

    @ApiModelProperty(value = "传递参数")
    private String dataInfo;

    @ApiModelProperty(value = "是否处理 默认0 已处理：1")
    private String status;

    @ApiModelProperty(value = "司机id")
    private String driverId;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "司机申请预计到达时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime driverReachTime;

    @ApiModelProperty(value = "子订单id")
    private String relationId;

    @ApiModelProperty(value = "子订单id")
    private String type;

    @ApiModelProperty(value = "子订单id")
    private String reportId;

    @ApiModelProperty(value = "邀请id")
    private String invitedId;

    @ApiModelProperty(value = "邀请人姓名")
    private String invitedName;

    @ApiModelProperty(value = "邀请人电话")
    private String invitedUserName;

    @ApiModelProperty(value = "邀请公司")
    private String invitedCompanyName;

    @ApiModelProperty(value = "邀请项目名称")
    private String invitedItemName;






}
